package polymorphismTest;

public class Bank extends Pay{
    public Bank(){

    }
    public Bank(double money){
        super(money);
    }

    @Override
    public void payment() {
        System.out.println("通过银行支付:"+getMoney()+"元");
    }
}
